package cn.com.self.apis.member.entity;

import lombok.Getter;
import lombok.Setter;

/**
 * @author hongjuzhu
 * @date 2021/6/20
 * @Description
 */
@Setter
public class Common {
    private Integer page;
    private Integer size;

    public Integer getPage() {
        if(page==null){
            page=1;
        }
        return page;
    }

    public Integer getSize() {
        if(this.size==null || size==0){
            size=20;
        }
        return size;
    }
}
